added redirect with id-error cases