scan test fixed