Fixed the bug in getEPConstruction