Fixing syntax error in schedule template