Small fix for popup