fix bug in stylesheet