small fixes in content provider