use os.path.realpath to get absolute path