fix redirection to empty lessons index