Fixed input exceptions