Fixed input problem