fixed minor bugs. updated contact view behavior