fixed duplicate enter in form