format + remove final on console