fixed error where modifications are nil in hairstyles edit action