fixed bug in getDecomp