fixed issues with displaying history table