bug fix for thumb