You can not redirect with header if there is printed on page