fixed minor buygs