Trowel.py error fixed. def section local variable item over right the upper variable item. I changed it to subitem. Errors for def has been fixed