minor bug fixes, make changes to parameters