style parsing fix

code style should be ok this time
Merge pull request #1417 from asturur/master

Style parsing fix