fix odata bug