cleanup hours planned function