lengends were hidded when resized window solved