fixed code name bug