Fixes to single page on the pax side and as well as fix for not creating
the record which is null in the tables when you save main table.