modify format and remove $.