Fixissue that cause arts to not have media type assigned
remove unused function
update logic to use present? function
add default page size config item