Fixing the HPFriends submission