integration of khash and http methods & levels bug fix