If you create a new master page, and you want delete it, sometimes the error will happen:
This item cannot be deleted because it is still referenced by other pages
what you can do???
aha, there is work around to delete it, easy way:
1- Open the sharepoint designer.
2- Create a new folder.
3- Put the target master page into new folder.
4- Delete the folder.