Fixes line styles