fixes options for params