fix hide toolbar test