fix for popup menu