fixed bug for issue#36, but landscape mode not corresponding