bug with patch