perhaps fixing orientation problem