fixed kam bug