try to fix contacts index code