Temp fix to html reject bug