removing some spaces

+ changed if to ternary