fixed string formatting, necessary since revision was changed to string