Fix cannot cd and exec