modify inapp lib