fixing build warnings

good old cleanup