Fixed errors in post_schedule from my last commit