fix for heith reset on orientation change