fixed error in build phase