Attempt to fix problem with local in bash