core: removed debug from z_pivot_rsc
core: fix problem where the custom redirects form was not saved