fixed the overflow problem in resultpage