Fixed crash when acid-state not empty