removed warning
fixed orientation problem