remove anonymous function for compatibility with eaccelerator