use setFormat instead of setOptions. fixes #279