fix for warnings