fixed duplicated windows #24