fix any error in enter and other mistakes