changed error message for empty format option
version 0.5.3