master #24 fix random style assignment