used LAST_INSERT_ID for solution as the other way didn't work :-/