fixed negative indices