add covertiy static check