fixed/suppressed some warnings