fixed menu bar bugs