fixed bug with the TMielEvent Library