fix syntax

this syntax is not the most readable in this case and cause trouble with some rubies