better implementation of remaining_quota + bump version 3.0.10