fix workdir and menu