double enter bug fixed