fixed the linking issues with missing director