fix enter problem