fixing static references
print static_root
updating stuff