add ternary expressions
fix segfault on multiple imports