release version 2.3.1

* Resolved the 'Warning: Cannot modify header information' error thrown