fixed number formatting of cost params, fixed set_current_credentials() method calls