pass options correctly