resolved a bug in constructionIndex