Reply not functioning properly