Fixing xp bars to use directive