fixed a bug that occured after last bugfix in contentprovider; size needs
to be int, not unsigned int.