bug fix: fromat function conflicts with ruby native format