fix build post data by recursive array