bugfixes and improved bcon