Fix bug in property parsing