Prevent enter key from deleting variables