fixed contact php for empty entries