logic bug in content providers