Fixed "Bad substitution" error message.