error message works on lesson slot save