expanding ternary expressions fixes #272
build