turn debug on, get rid of a redundant variable