properly escape $