Fixed instantiate error