fixed mess detector problems