adding more logs
fixing an error