fix for build errors