fixed: many warnings