trying problem with saving foreign keys