fix input that stops exapanding