Fixed small bug when using custom format
(Patch version)++