Fixed, "Cannot modify header information" error.