Fix the three bugs | StemPy Lab