fixed ending timer