Fixed undefined $output