Fix method name and fix variable name in strict mode