bug fix rotate screen