fixed bug of spacingY