Fixed bug with undefined rroperty registration