Fixes undefined options error