fixed a stupid bash problem