remove unnecessary runtime dependencies