Fix type in property name variable