fixed deprecated messages
removed CoreRegistry.get using @In