removed shared subroutine references bug

This bug hasn't been present since thread support was updated in v0.11