fixing possible issue with bash