Management command fix