fix inner command behaivor