fix relativeClass