Fix bug in popupmenu(problem with {} )