having issues with loading object