fixes build problems