fixed deprecated RuntimeManagerFactory