fix escape on dynamic vars