fixes build error
fix warnings