fixed superclass find_by_permalink