fix target hour less than 1 become to 0