debug get input

same last commit but has no bug