fixed weird menu bug.