fixed assorted warnings