Fix a bug for WALL with wrong decimal