setting numpy to strict