fix chmod in menu