improve changed result for race conditions