added documentation to cmd fix