fixed potentially divide by 0 error, checking compute microkernel.