corrected rotated layer
corrected rotated layer