adding clear value and add on enter