Ok, i found a work around here's the solution in the above problem, in the menu.php replace the entire function:
function display_element

WITH:

function display_element( $element, &$children_elements, $max_depth, $depth=0, $args, &$output ) {
if ( !$element )
return;

$id_field = $this->db_fields['id'];
if( ! empty( $children_elements[$element->$id_field] ) )
foreach( $children_elements[$element->$id_field] as $row => $val ){
array_push($val->classes,'has_sublevel');
}
//array_push($element->classes,'has_sublevel');

parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
}