Create the string with a formatter instead of building it manually.
Fix wrong import order.