fixing setTimeout issue