fix Stack Overflow
add missing parameter
remove debugging ReadAll call