fix extraneous assignments left over from refactoring