Fixing bug in telephone input