Fixed input capturing.