fix scan interface