made input appear right after finishing