fix silly ternary op. call error