fixing success case