fixed bugs for home screen and local contacts