aprof class check fixed