extra check for popup