fixes #288 xp bar stuff