Static forms tree now works + fixed some bugs