checking command id