fix bug with hasJustReloaded never getting set to false