fix limit maxpost at index