prevent attribute error for popup content