fix NONE check and style output