fix bug with initialising default options