improve style element translation