fixes for warnings