Fix broken bash variable