debugging contextual menu