Remove old module check

old left over code, which will cause error.