bugfixes and better log