improved error message for registering an existing property