added menu
fixed scanner