fix for 'Notice: Use of undefined constant create'