clean up quote df function