fixed erratic code style