delete skeleton related codes