fix callback check and update README