use class url instead of instance url