Fix scan and bob errors.