fixed several directory actions on contacts with wrong attributes