fixed some tom foolery