fixed name-taken error