fix form data 500 for device logs

and fix table css for overflowing data