fixed warnings about missing initializer