bug fixes and ui updates for input form