additional bug fixes RA8875.cpp