some fixes for build