quick fix to prevent data loss