fixed warnings in builds