Missing initializer caused "TypeError: initf is undefined"

if an initializer does not exist, don't try to execute it.