bug fixes, divide hour because of 24 hour

divide hour due to 24 hour time