fixed issues with the addon system