need to escape the sigle quote as the py str is sgn qt