fix issue with double reloading of tables after upload