fixed annoying toolbar bug