fixed horizontal spilling issue