fix padding and margins for palm