fixed bug in post req processing
added debug statemetn to logger