fix the include method error
add process_attributes method