correct erros and menu