fixed bugs. error with pink noise