Write name properly, undo writing id 0 since it's already written :\