Fix for undefined options variable