fix some bug in file_hosting and user_statistics