changed ai fragment layout