fix hook function name
fix PO_ROOT
fix conflicting classes