added some defaults to avoid failure