hack for km params