small fix to handle no redirect provided case