class extension error