fixed awk error

`tolower` throws an error if used with multiple arguments. This change should fix that.