removed some console logs and maybe corrected menu fault on rerender