skip render when index<0