fixed vshift and hshift