fixed problem with "unused argument" warning