Fixing process bug