fix error handling
add cleaning of player skins