changed settings to avoid owerlayed windows