remove extract_attributes from the return value, remove extra /n