Fix bug with overwrite in init