Fixed the callback function
Updated License