change include path
use ternary operator to avoid unreachable code