fix for undefined names