fix image upload flood check