clean Post data, empty index check