hacky support for direct linking for scaling