fix issue with orientation change
update