fixed select sequel not using format properly if defined.