make buffer nullable