Master undefined eventpath fix

fix for #256