Bug fix for fetch_mine api