add padding to fix overlap