add second patch to remove warnings