replaced ob_end_clean() with ob_clean()