background and dimensions fix