fixed crash on update from beta 6 to 7