adjust para set to get suitable matching window