fixed a bug and preparing for my process management process