Fixing bash issue