style fixes as per github comments