strict checking seems to fail on some environments even if the returned code is ok