modified storage to handle error tasks