fixing some build problems
fix build