change directory=>present to enable link
fix errors