fix to a runtime problem