Remove bad extension for texts