How to remove last name from the name field