fixed some initialization oddities