Fixing incorrect property type