small code style improvements