Fixed broken format string

This fixes issue #317