fix issue with validation on creating lesson pages