fixed some bugs, added property creation