run before_tick always