fix direcotory method not found issue