The encapsulation libraries in kicad are made up of the word Package and then the series of the encapsulation joined by an underscore.
in this case the Package_TO_SOT_SMD library was written TO_SOT_SMD_Package this makes pcbdraw not detect the component.
rename the folder and it worked for me