minor bugfix with silence detection