fixed bug that broke poolschedule