fixed bug in ruby scheduled tasks