fix a bug in backprojection