fixes options replacement