fix input from bottom