fix for time