fixed _enter_ key bug