Fixing a bug on tollbar (on first loading)