fixed capitalize_params method to work

please merge and bump a new version, thanks