added qfreplace