fixed missing bracket in extra_functions.php