fixing cell values sent on error