get rid of 'uninitialized value' warnings
Merge pull request #38 from stdweird/resolve_undef_warning

get rid of 'uninitialized value' warnings