error when property is used in root. Fixes #442