Ok i solved it thanks every one! The
ad1 = ~ad1
ad2 = ~ad2
helped alot

Thanks again!