Fixing fragment identifier bug