fixed the editprfile for other classes