padding and margin corrections