remove unnecessary ternary operator
release - remove unnecessary ternary operator