bugfixes for install