fix some style issues which appear after build