fixed bug in boss timer