supress 'Code object coerced to string' warning