Fix `.` input restriction