better error checking when getting property info from es