expand multiple error fix