fixes for contact table