fixed bug with time slot am/pm assignment on load