fixing bash wrapper