fixed minor coding style issues