fix the ctrlenter problem