fixed custom class