removing a newline at the end of file ("headers already send by"). also removed ?>, to avoid such things happen in future