remove unnecessary reflection