fix padding in preview