property handling for obstacles via attrs, remove the hashtable mapping, fix a segfault