modified all comple errors and only left four link error