fixed a bug where just one annotation of a command handler was inspected