Fixed bug to generated property label

Signed-off-by: Herbert <herberthb12@gmail.com>