Please make sure you are entering your pension in the right box. If it's not a US pension, then enter it in Other pension income or Pension income exempt under a tax treaty.
Thanks for replying back to me so quickly. I managed to do it ok, I was inserting the pension amount in the wrong box. It has to go in the foreign pension box and I was putting it in the foreign employment earnings box. The foreign pension amount is now showing on line 115 of the tax return.