Fixed zero values error. Thanks Nathan.