some FOSUB modifications