really fixed settings opening main menu bug