fix landscape&portrait