fix invalied format