Fix issue on inserting sl entries