enforcing local and global strict mode