warnings fixed
debuging info updated