found a way to scan assembly properly