Fix strict mode bug