Fix auto-lws option in scan class