fixing management commands