Fixed error on deleting of return status