version 1.0.6 ... undefined variable fix