fix for bad userState save