fixed bugs
different linking system