Fixed atree bug and fixed default properties not being set

Signed-off-by: Sean Wesenberg <wookets@gmail.com>