fixed problem with enter key