fix syntax of keyword params in ruby 2