fixed bugs in link with cpu time, constant functions.