fix perspective layout