fix crash in case of skin error