typo
 info -> debug + refactor