added qfreplace.