removed useless diagnostic