fixed modelsim incompatibilities