change quote" to ` .
add function lm.resid and use it