added support for splitting too long of references