Stanley update for bug fixed #2