fixed bug in Vertical