Fixed problem with bash