fixes broken create and update success redirections