fix user callback, replaces license info
fix callback function