fix bug for relative paths
fix bug and update version