Remove an extra $ that was causing an undefined variable error when a copy
error ocurred.