removed debug echo from funcs.php