default url and redirect fix
fix for ref type save