set handlers at correct time