fixed some code in contact