mimic header() function
resolve conflict