fixed issue with contact app

index out of bound exception fixed