Deleting the getMessage() for insert in location object