dealing with extensions in quote detector