pretty junky fix for issue where string format refuses to handle NoneType nicely on Linux