fix the bug in sca modules endpoints