fixing command print