fix bug with loading default image