fixed duplicate adding of contact