consistify the code style