fix for some errors reported in donkey kong