fixed double escaping for <%%