The best way to fix this issue is to manually adjust the cost base of the shares in the STEX Portfolio Manager software. You can do this by selecting the shares and then clicking the "Edit" button. From there, you can enter the correct cost base for the shares.