remove api links
rename phantom dir