Fixed strict mode warning in debug mode