Fixed HTML callback issue