fix absolute path crash