validate course only lesson > 0