remove warnings of inspection