initialize vars on new object + a nil fix