removing directory arguement