some edit schedule page code