Hours error fix