time manager update, fix bug