fix a bug for bulkPi
fixed a bug in bulk delta f (kind = 4)