Fix scan error