overflow fix in data query page