bugfix: only set options if its different from 0