fixes minimization and background process checking bugs