correct a bug with the previous page from the course access page