fix(src): pass options to src function