Sorry, can't help with the carpet fitting. But I did slide some extra carpet underlay under the carpet to help with the carpet pulling out. The result was very successful. I see you can get some flat plastic pieces to help with the carpet issue.
I recently saw these similar plastic pieces as well on eBay. I don't know the seller. Just passing on this information.