fixing small issues with cmd