Removed errors when linking dirs