support for \xff end of db