make id unmodifiable