Fixed more process bugs