Fixed crash on sink loading