added support for square thumbs