add runtime, fix package deps