fixing initialization warnings