get rid of reflection warning