open only one window works