it gives '[object Object]' for all inputs, anyway, no matter the content