Fixed a bug in fragment response