Fixes bug in adminbar