Fix for bash 4