fix annoying double input bar bug