Fixing vertical bug