added compatibility to terminal
added compatibility to terminal