Fixed noise loop issue

@pimnijdam Could you take a quick look at this?