fix to input