fixed copy/paste error in bash loop