fix: noise extraction algorithm