Fixed seg fault from bad defaults