fixed Decompose bug