bugfix for linked loader