fixes for popup block