thanks for the help guys, i didnt change anything, but when i logged in today and the code i got from Mischback worked.
Code:
local frame = CreateFrame('Frame', nil, UIParent)
frame:RegisterEvent('ADDON_LOADED')
frame:SetScript('OnEvent', function(self, event, addon)
if addon ~= 'SemoUI' then return end
if not mLayouts then
mLayouts = {}
end
end)