fixed bug in content provider