Fix to orientation issue