modify redirect to learn complete