Fix for warnings of byte compile