fixed crash on roentation change