fix bug causing runtime not to get loaded