fixed enter behavior