removed ternary

it kept breaking the code, could not fix.