Import from CSV marks buy transactions as Receive

Hi, I followed the instruction and imported the csv. However, an I notice that all the transactions are marked as “Receive” instead of buy and moreover it does not include the purchase prices Is there something I can do to fix this? thanks.