fix get_raw_post attachment issue