remove linecache dependency.