fix for build and missing dependancies