check strict mode