fixes for out of range strings in EB