fix plan storage