fixes issue with bounds of content

fixes issue with bounds of content