fixed to use gdata for cross-platform usage