fixes to input