fix echoing of $