fixed problem with affects(_,_)