fix div height issue, remove old code