how about using remove_action('wp_head', 'wp_generator'); ?
remove_action('wp_head', 'wp_generator');
how about using
remove_action('wp_head', 'wp_generator');
?