fix dec on class