fixed opening graphs from menu