remove annonymous function to preserve php 5.2 compatibility
release version 1.0.1