fixxed something

there was a bug that was random for noisy data, I fixed it so I need to
send an email to those bastards