fix unnecessary usage of dynamic method resolution