fix getting type urls so delete works