code posting but hanging