fixed some build errors associated with making actor sealed