Fix for key fragment