Fix bug with pre style