fixing options

fixing to set options to an empty object if not provided. This fixes an issue that requires you to pass an empty object to the method to prevent it erroring when trying to access properties on options