fix problem of passing  object through Redirect to the 'show' method.