How to avoid common intellectual property missteps