fixed bug in contact