Fix pincode plugin