better error message when import missing a semi-colon or malformed.