fix reference to zeros