BUGFIX: add missing import
BUGFIX: fix error message string creation

SyntaxError otherwise