fixed post array bug