thickness ratio bugfix