Fixed menu generation line a bit