fixes bug with not taking in consideration 11 o'clock