Fix #3. Inconsistant library callback