fixed undef error
v0.2.4