fixed decimal handling