fixed orientation problem!!!!!!!!