Fixed an incorrect variable name in '/usr/bin/apply'