some errors and better link interface