bugfixes regarding building addition