Fix the add record function in the Manage Site