additional catch for func == undefined