history: Enter bug fixed