fix callback function in configuration file