fixing double popup dan site ssl enabled