forgot to set flag in updateTick