Fix bug: passing right value to formatter;