importing format-to-string, fix undefined binding

Simple fix