RSU's taxation issue in Turbo tax

I am trying to enter in my RSUs and the ones sold to cover the taxes.  The shares sold to cover the stock were sold on a different date for a different amount than the remaining shares were sold.  The shares sold for tax were sold at a loss, but the system is reflecting it as a gain.  Please help!!