double on-enter bug?