stock problem iii bug fixed