fix for broken due to update the magit.