Not a good latch

I mainly pump because my 6 week old will only latch every once in a while. He latches the best after I pumped already & through the night when we are both laying on our kids. Other than that he will keep pulling off the boob & fuss. Could there be something wrong with my milk flow?