applying patch for styles (issue #217)