fixed loading issues with bash