fix bug with custom skins