switch formatter to use 1-based lines