Bash variable fail