fix to warnings