#248: add new check, fix coding style