create rest buffer if it does not exist