Added a hack to help detect errors while inserting content