Fixing hand logic