get rid of more sprintf's