added logs removed erros

ready for debugging