fixed stupid bash