fixed encoding; added filter