remove unnecessary figures