fixing issue where module windows did not open by default