fix warning and issues (remain only issues from external libs)