fixed the undef problem