fixing template with quotes