fixing score and success