code was causing unexpected infinite loop of processess