When creating purchase receipt rate doubles for no reason

Hi
When creating the purchase receipt from purchase invoice the rate doubles by it self.
UPDATE
It happens sometimes, I think it has something to do with currency or the number of items.
regards