fixes a few bugs
changes default params