improved pre style
fixed import