fixed warnings from mono build