insert some debug code for dev site