Fix profile.lua