Fixed bug in skin upload