backup implementation

fixed crash while loading spec for the first time via file