minor bug fix in the new ruby template