Fix bug in format helper