Fixed command terminal issue