fix code example in requires post