fixing bug with GStringTemplate