fixed now works ok - had to set the tv_sec part to something so it didnt get weird values