fix missing name key error