fixed decimal bug on 2.6