fixed premature variable reference
fixed premature variable reference 2?