Fixes class attribute