Debug functon removed from stack.php