fixed inputs is not defined