post edit bug fixed and adjust the index thumbnail if statement