create har now with distinction of wait and receive
fixed disabling of har creation
some code beautification