fix some admin url problems