Fixes dec flag