Update loader to handle one full obj case

Signed-off-by: Tudor Marcu <tudormarcu4@gmail.com>