ensure the right IFS