actually fixed the HP bar bug