bugfix: fixed conditional operator