fix comand_id for exists and creation