up version
fix undef var error