fixed a few dzen issues