fix anonations on classes