fix sticky bar problem